package com.hopool.shop.product;

import java.util.Date;
import java.util.List;

public class ProductType {
	private Long id;
	private String name;
	private Long parentType;
	private Long left;
	private Long right;
	private Long depth;
	private Date createDate;
	private List<Product> products;
	public ProductType() {
		super();
	}
	public ProductType(Long id, String name, Long depth) {
		super();
		this.id = id;
		this.name = name;
		this.depth = depth;
	}
	public ProductType(Long id, String name, Long left, Long right) {
		super();
		this.id = id;
		this.name = name;
		this.left = left;
		this.right = right;
	}
	public ProductType(Long id, String name, Long parentType, Long left,
			Long right, Long depth, Date createDate) {
		super();
		this.id = id;
		this.name = name;
		this.parentType = parentType;
		this.left = left;
		this.right = right;
		this.depth = depth;
		this.createDate = createDate;
	}
	public Long getDepth() {
		return depth;
	}
	public void setDepth(Long depth) {
		this.depth = depth;
	}
	public Long getLeft() {
		return left;
	}
	public void setLeft(Long left) {
		this.left = left;
	}
	public Long getRight() {
		return right;
	}
	public void setRight(Long right) {
		this.right = right;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getParentType() {
		return parentType;
	}
	public void setParentType(Long parentType) {
		this.parentType = parentType;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public List<Product> getProducts() {
		return products;
	}
	public void setProducts(List<Product> products) {
		this.products = products;
	}
}
